<html>
    <head>
        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/dojo/1.7/dijit/themes/tundra/tundra.css" />
        <script type="text/javascript">
            var dojoConfig = {
                parseOnLoad: true,
                isDebug: true,
                locale: 'ru-ru',
            };
        </script>
        <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7/dojo/dojo.js"></script>

        <script type="text/javascript">
            dojo.require("dojo.data.ItemFileReadStore");
            dojo.require("dijit.form.Select");
            dojo.ready(function () {
                
            });

        </script>


    </head>
    <body class="tundra">
        <div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-props="url:'/6/city.json', urlPreventCache:true, clearOnClose:true" data-dojo-id="cityStore"></div>
        <div data-dojo-type="dijit.form.Select" data-dojo-props="store:cityStore">
            <script type="dojo/connect" data-dojo-event="onChange" args="newValue">
                selectMetro.query = {city : newValue};
                selectMetro.startup();
            </script>
        </div>

        <div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-props="url:'/6/metro.json'" data-dojo-id="metroStore"></div>
        <div id="selectMetro" data-dojo-id="selectMetro" data-dojo-type="dijit.form.Select" data-dojo-props="store:metroStore"></div>
    </body>
</html>